{#{% load i18n %}#}
{#{% load static %}#}
{##}
{#{% load compress %}#}
{##}
{#{% load common_tags %}#}
{#{% load navigation_tags %}#}
{##}
{#{% spaceless %}#}
{#    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"#}
{#            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">#}
{#    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">#}
{#    <head>#}
{#        <meta charset="utf-8">#}
{#        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">#}
{#        <meta http-equiv="X-UA-Compatible" content="IE=edge">#}
{#        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>#}
{#        <meta http-equiv="Content-Language" content="{{ LANGUAGE_CODE }}"/>#}
{#        <title>#}
{#            {% block base_title %}#}
{#                {% block title %}{% endblock %} :: {% block project_name %}{% project_name %}{% endblock %}#}
{#            {% endblock base_title %}#}
{#        </title>#}
{##}
{#        {% compress css %}#}
{#            <link href="{% static 'assets/css/dpl-min.css' %}" media="screen" rel="stylesheet" type="text/css"/>#}
{#            <link href="{% static 'assets/css/bui-min.css' %}" media="screen" rel="stylesheet" type="text/css"/>#}
{#            <link href="{% static 'assets/css/main.css' %}" media="screen" rel="stylesheet" type="text/css"/>#}
{##}
{##}
{#            {% block stylesheets %}{% endblock %}#}
{#        {% endcompress %}#}
{#        <script>#}
{#            function waitForJQuery(func) {#}
{#                if (window.jQuery) {#}
{#                    func();#}
{#                } else {#}
{#                    setTimeout(function () {#}
{#                        waitForJQuery(func)#}
{#                    }, 50);#}
{#                }#}
{#            }#}
{#        </script>#}
{#    </head>#}
{#    {% if appearance_type == 'plain' %}#}
{#        <body class="login">#}
{#        {% block content_plain %}{% endblock %}#}
{#    {% else %}#}
{#        <body class="nav-md">#}
{#        <div class="content">#}
{#            <div class="dl-main-nav">#}
{#                <div class="dl-inform">#}
{#                    <div class="dl-inform-title">贴心小秘书<s class="dl-inform-icon dl-up"></s></div>#}
{#                </div>#}
{#                <ul id="J_Nav" class="nav-list ks-clear">#}
{#                    <li class="nav-item dl-selected">#}
{#                        <div class="nav-item-inner nav-home">首页</div>#}
{#                    </li>#}
{#                    <li class="nav-item">#}
{#                        <div class="nav-item-inner nav-order">表单页</div>#}
{#                    </li>#}
{#                    <li class="nav-item">#}
{#                        <div class="nav-item-inner nav-inventory">搜索页</div>#}
{#                    </li>#}
{#                    <li class="nav-item">#}
{#                        <div class="nav-item-inner nav-supplier">详情页</div>#}
{#                    </li>#}
{#                </ul>#}
{#            </div>#}
{#            <ul id="J_NavContent" class="dl-tab-conten">#}
{##}
{#            </ul>#}
{#        </div>#}
{#    {% endif %}#}
{##}
{#    {% compress js %}#}
{##}
{#        <!-- jQuery -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/jquery/dist/jquery.min.js' %}"></script>#}
{#        <!-- Bootstrap -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap/dist/js/bootstrap.min.js' %}"></script>#}
{#        <!-- FastClick -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/fastclick/lib/fastclick.js' %}"></script>#}
{#        <!-- NProgress -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/nprogress/nprogress.js' %}"></script>#}
{#        <!-- Chart.js -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/Chart.js/dist/Chart.min.js' %}"></script>#}
{#        <!-- gauge.js -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/gauge.js/dist/gauge.min.js' %}"></script>#}
{#        <!-- bootstrap-progressbar -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js' %}"></script>#}
{#        <!-- iCheck -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/iCheck/icheck.min.js' %}"></script>#}
{#        <!-- Skycons -->#}
{#                    <script src="../vendors/skycons/skycons.js"></script>#}
{#        <!-- Flot -->#}
{#                    <script src="../vendors/Flot/jquery.flot.js"></script>#}
{#                    <script src="../vendors/Flot/jquery.flot.pie.js"></script>#}
{#                    <script src="../vendors/Flot/jquery.flot.time.js"></script>#}
{#                    <script src="../vendors/Flot/jquery.flot.stack.js"></script>#}
{#                    <script src="../vendors/Flot/jquery.flot.resize.js"></script>#}
{#        <!-- Flot plugins -->#}
{#                    <script src="../vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>#}
{#                    <script src="../vendors/flot-spline/js/jquery.flot.spline.min.js"></script>#}
{#                    <script src="../vendors/flot.curvedlines/curvedLines.js"></script>#}
{#        <!-- DateJS -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/DateJS/build/date.js' %}"></script>#}
{#        <!-- JQVMap -->#}
{#                    <script src="../vendors/jqvmap/dist/jquery.vmap.js"></script>#}
{#                    <script src="../vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>#}
{#                    <script src="../vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>#}
{#        <!-- bootstrap-daterangepicker -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/moment/min/moment.min.js' %}"></script>#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-daterangepicker/daterangepicker.js' %}"></script>#}
{##}
{#        <!-- PNotify -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.js' %}"></script>#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.buttons.js' %}"></script>#}
{#        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.nonblock.js' %}"></script>#}
{##}
{#        <!-- Custom Theme Scripts -->#}
{#        <script src="{% static 'appearance/packages/gentelella-master/build/js/custom.js' %}"></script>#}
{##}
{#        {% comment %}#}
{#        <script type="text/javascript" src="{% static 'appearance/packages/jquery-2.1.4.min.js' %}"></script>#}
{#        <script type="text/javascript" src="{% static 'appearance/packages/bootstrap-3.3.4-dist/js/bootstrap.min.js' %}"></script>#}
{#{% endcomment %}#}
{##}
{#        <script type="text/javascript" src="{% static 'appearance/packages/jquery.scrollview.js' %}"></script>#}
{#        <script type="text/javascript"#}
{#                src="{% static 'appearance/packages/jquery_lazyload-master/jquery.lazyload.min.js' %}"></script>#}
{#        <script type="text/javascript"#}
{#                src="{% static 'appearance/packages/fancyBox-master/source/jquery.fancybox.pack.js' %}"></script>#}
{#        <script type="text/javascript"#}
{#                src="{% static 'appearance/packages/fancyBox-master/lib/jquery.mousewheel.pack.js' %}"></script>#}
{#        <script type="text/javascript"#}
{#                src="{% static 'appearance/packages/select2-4.0.3/dist/js/select2.min.js' %}"></script>#}
{#        <script type="text/javascript" src="{% static 'appearance/packages/toastr-master-998959b0/build/toastr.min.js' %}"></script>#}
{##}
{#        <script type="text/javascript" src="{% static 'appearance/packages/jquery.matchHeight-min.js' %}"></script>#}
{##}
{#        <script type="text/javascript" src="{% static 'appearance/js/base.js' %}"></script>#}
{##}
{#        <script type="text/javascript" src="{% static 'assets/js/jquery-1.8.1.min.js' %}"></script>#}
{#        <script type="text/javascript" src="{% static 'assets/js/bui.js' %}"></script>#}
{#        <script type="text/javascript" src="{% static 'assets/js/config.js' %}"></script>#}
{#    {% endcompress %}#}
{##}
{#    <script>#}
{#        var DjangoMessages = [#}
{#            {% for message in messages %}#}
{#                {#}
{#                    tags: '{{ message.tags }}',#}
{#                    message: '{{ message.message }}'#}
{#                },#}
{#            {% endfor %}#}
{#        ];#}
{#        BUI.use('common/main', function () {#}
{#            var config = [{#}
{#                id: 'menu',#}
{#                homePage: 'code',#}
{#                menu: [{#}
{#                    text: '首页内容',#}
{#                    items: [#}
{#                        {id: 'code', text: '首页代码', closeable: false},#}
{#                        {id: 'main-menu', text: '顶部导航', href: '/api/cabinets/cabinets/'},#}
{#                        {id: 'second-menu', text: '右边菜单', href: 'documents/list/'},#}
{#                        {id: 'dyna-menu', text: '动态菜单', href: 'main/dyna-menu.html'}#}
{#                    ]#}
{#                }, {#}
{#                    text: '页面操作',#}
{#                    items: [#}
{#                        {id: 'operation', text: '页面常见操作', href: 'main/operation.html'},#}
{#                        {id: 'quick', text: '页面操作快捷方式', href: 'main/quick.html'}#}
{#                    ]#}
{#                }, {#}
{#                    text: '文件结构',#}
{#                    items: [#}
{#                        {id: 'resource', text: '资源文件结构', href: 'main/resource.html'},#}
{#                        {id: 'loader', text: '引入JS方式', href: 'main/loader.html'}#}
{#                    ]#}
{#                }]#}
{#            }, {#}
{#                id: 'form',#}
{#                menu: [{#}
{#                    text: '表单页面',#}
{#                    items: [#}
{#                        {id: 'code', text: '表单代码', href: 'form/code.html'},#}
{#                        {id: 'example', text: '表单示例', href: 'form/example.html'},#}
{#                        {id: 'introduce', text: '表单简介', href: 'form/introduce.html'},#}
{#                        {id: 'valid', text: '表单基本验证', href: 'form/basicValid.html'},#}
{#                        {id: 'advalid', text: '表单复杂验证', href: 'form/advalid.html'},#}
{#                        {id: 'remote', text: '远程调用', href: 'form/remote.html'},#}
{#                        {id: 'group', text: '表单分组', href: 'form/group.html'},#}
{#                        {id: 'depends', text: '表单联动', href: 'form/depends.html'}#}
{#                    ]#}
{#                }, {#}
{#                    text: '成功失败页面',#}
{#                    items: [#}
{#                        {id: 'success', text: '成功页面', href: 'form/success.html'},#}
{#                        {id: 'fail', text: '失败页面', href: 'form/fail.html'}#}
{##}
{#                    ]#}
{#                }, {#}
{#                    text: '可编辑表格',#}
{#                    items: [#}
{#                        {id: 'grid', text: '可编辑表格', href: 'form/grid.html'},#}
{#                        {id: 'form-grid', text: '表单中的可编辑表格', href: 'form/form-grid.html'},#}
{#                        {id: 'dialog-grid', text: '使用弹出框', href: 'form/dialog-grid.html'},#}
{#                        {id: 'form-dialog-grid', text: '表单中使用弹出框', href: 'form/form-dialog-grid.html'}#}
{#                    ]#}
{#                }]#}
{#            }, {#}
{#                id: 'search',#}
{#                menu: [{#}
{#                    text: '搜索页面',#}
{#                    items: [#}
{#                        {id: 'code', text: '搜索页面代码', href: 'search/code.html'},#}
{#                        {id: 'example', text: '搜索页面示例', href: 'search/example.html'},#}
{#                        {id: 'example-dialog', text: '搜索页面编辑示例', href: 'search/example-dialog.html'},#}
{#                        {id: 'introduce', text: '搜索页面简介', href: 'search/introduce.html'},#}
{#                        {id: 'config', text: '搜索配置', href: 'search/config.html'}#}
{#                    ]#}
{#                }, {#}
{#                    text: '更多示例',#}
{#                    items: [#}
{#                        {id: 'tab', text: '使用tab过滤', href: 'search/tab.html'}#}
{#                    ]#}
{#                }]#}
{#            }, {#}
{#                id: 'detail',#}
{#                menu: [{#}
{#                    text: '详情页面',#}
{#                    items: [#}
{#                        {id: 'code', text: '详情页面代码', href: 'detail/code.html'},#}
{#                        {id: 'example', text: '详情页面示例', href: 'detail/example.html'},#}
{#                        {id: 'introduce', text: '详情页面简介', href: 'detail/introduce.html'}#}
{#                    ]#}
{#                }]#}
{#            }#}
{#                , {#}
{#                    id: 'test',#}
{#                    menu: [{#}
{#                        text: '详情页面',#}
{#                        items: [#}
{#                            {id: 'code', text: '详情页面代码', href: 'detail/code.html'},#}
{#                            {id: 'example', text: '详情页面示例', href: 'detail/example.html'},#}
{#                            {id: 'introduce', text: '详情页面简介', href: 'detail/introduce.html'}#}
{#                        ]#}
{#                    }]#}
{#                }#}
{#            ];#}
{#            new PageUtil.MainPage({#}
{#                modulesConfig: config#}
{#            });#}
{#        });#}
{#    </script>#}
{#    {% block javascript %}{% endblock %}#}
{#    </body>#}
{#    </html>#}
{#{% endspaceless %}#}


{% load i18n %}
{% load static %}

{% load compress %}

{% load common_tags %}
{% load navigation_tags %}

{% spaceless %}
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="{{ LANGUAGE_CODE }}"/>
        <title>
            {% block base_title %}
                {% block title %}{% endblock %} :: {% block project_name %}{% project_name %}{% endblock %}
            {% endblock base_title %}
        </title>

        {% compress css %}
            <!-- Bootstrap -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/bootstrap/dist/css/bootstrap.min.css' %}"
                  rel="stylesheet">
            <!-- Font Awesome -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/font-awesome/css/font-awesome.min.css' %}"
                  rel="stylesheet">
            <!-- NProgress -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/nprogress/nprogress.css' %} "
                  rel="stylesheet">
            <!-- iCheck -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/iCheck/skins/flat/green.css' %}"
                  rel="stylesheet">

            <!-- bootstrap-progressbar -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css' %}"
                  rel="stylesheet">
            <!-- JQVMap -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/jqvmap/dist/jqvmap.min.css' %}"
                  rel="stylesheet"/>
            <!-- bootstrap-daterangepicker -->
            <link href="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-daterangepicker/daterangepicker.css' %}"
                  rel="stylesheet">

            <link href="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.css' %}"
                  rel="stylesheet">
            <link href="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.buttons.css' %}"
                  rel="stylesheet">
            <link href="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.nonblock.css' %}"
                  rel="stylesheet">


            <!-- Custom Theme Style -->
            <link href="{% static 'appearance/packages/gentelella-master/build/css/custom.css' %}" rel="stylesheet"
                  type="text/css">

            <link href="{% static 'appearance/packages/fancyBox-master/source/jquery.fancybox.css' %}" media="screen"
                  rel="stylesheet" type="text/css"/>
            <link href="{% static 'appearance/packages/select2-4.0.3/dist/css/select2.min.css' %}" media="screen"
                  rel="stylesheet" type="text/css"/>
            <link href="{% static 'appearance/css/base.css' %}" media="screen" rel="stylesheet" type="text/css"/>
            {% block stylesheets %}{% endblock %}
        {% endcompress %}
        <script>
            function waitForJQuery(func) {
                if (window.jQuery) {
                    func();
                } else {
                    setTimeout(function () {
                        waitForJQuery(func)
                    }, 50);
                }
            }
        </script>
    </head>
    {% if appearance_type == 'plain' %}
        <body class="login">
        {% block content_plain %}{% endblock %}
    {% else %}
        <body class="nav-md">

        <div class="container body">
        <div class="main_container">
            <div class="col-md-3 left_col">
                <div class="left_col scroll-view">
                    <div class="navbar nav_title" style="border: 0;">
                        <a href="{% url 'common:home' %}" class="site_title"><i
                                class="bg-green fa fa-leaf"></i><span> {% project_name %}</span></a>
                    </div>


                    <div class="clearfix"></div>

                    <br>

                    <!-- sidebar menu -->
                    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                        <div class="menu_section active">
                            <h3>{% trans 'Main menu' %}</h3>
                            <ul class="nav side-menu" style="">

                                {% get_menu_links 'main menu' as menu_links %}
                                {% for link_set in menu_links %}
                                    {% for link in link_set %}
                                        {% with 'true' as as_li %}
                                            {% with 'true' as hide_active_anchor %}
                                                {% with 'active' as li_class_active %}
                                                    {% with 'first' as li_class_first %}
                                                        {% with ' ' as link_classes %}
                                                            {% include 'navigation/generic_subnavigation.html' %}
                                                        {% endwith %}
                                                    {% endwith %}
                                                {% endwith %}
                                            {% endwith %}
                                        {% endwith %}
                                    {% endfor %}
                                {% endfor %}

                            </ul>
                        </div>

                    </div>

                </div>
            </div>

            <!-- top navigation -->
            <div class="top_nav">
                <div class="nav_menu">
                    <nav>
                        <div class="nav toggle">
                            <a id="menu_toggle"><i class="fa fa-bars"></i></a>
                        </div>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="">
                                <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown"
                                   aria-expanded="false">
                                    <img src="images/img.jpg" alt="">&nbsp;
                                    <span class=" fa fa-angle-down"></span>
                                </a>


                        </ul>
                    </nav>
                </div>
            </div>
            <!-- /top navigation -->

            <!-- page content -->
            <div class="right_col" role="main" style="min-height: 1716px;">
                <div class="row">
                    <div class="col-xs-12">
                        {% block messages %}{% endblock %}
                    </div>
                </div>

                {% get_menus_links names='object menu,sidebar menu,secondary menu' as links %}
                {% get_menu_links 'object facet' as form_navigation_links %}

                <div class="row">
                    {% if links or form_navigation_links %}
                        <div class="col-xs-12 col-sm-9 col-md-10 col-lg-10">
                    {% else %}
                        <div class="col-xs-12">
                    {% endif %}
                    {% block content %}{% endblock %}
                    {% block footer %}{% endblock %}
                    </div>

                    {% if links or form_navigation_links %}
                        <div class="col-xs-12 col-sm-3 col-md-2 col-lg-2">
                    {% endif %}

                    {% if links %}
                        <div class="pull-right btn-group" style="margin-bottom: 10px;">
                            <button aria-expanded="true" type="button" class="btn btn-primary btn-sm dropdown-toggle"
                                    data-toggle="dropdown">
                                {% trans 'Actions' %}
                                <span class="caret"></span>
                                <span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
                            </button>
                            <ul class="dropdown-menu" role="menu">
                                {% for links_set in links %}
                                    {% for entry in links_set %}
                                        <li><a class="btn-sm" href="{{ entry.url }}">{{ entry.text }}</a></li>
                                    {% endfor %}

                                    {% if not forloop.last and links_set %}
                                        <li class="divider"></li>
                                    {% endif %}
                                {% endfor %}
                            </ul>
                        </div>
                        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
                    {% endif %}

                    {% if form_navigation_links %}
                        <div class="pull-right list-group">
                            {% if form_navigation_links %}
                                {% for object_navigation_links in form_navigation_links %}
                                    {% with 'true' as hide_active_anchor %}
                                        {% with 'active' as link_class_active %}
                                            {% with 'list-group-item btn-sm' as link_classes %}
                                                {% include 'navigation/generic_navigation.html' %}
                                            {% endwith %}
                                        {% endwith %}
                                    {% endwith %}
                                {% endfor %}
                            {% endif %}
                        </div>
                    {% endif %}

                    {% if links or form_navigation_links %}
                        </div>
                    {% endif %}
                    </div>
                </div>

            </div>
        </div>

    {% endif %}

    {% compress js %}

        <!-- jQuery -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/jquery/dist/jquery.min.js' %}"></script>
        <!-- Bootstrap -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap/dist/js/bootstrap.min.js' %}"></script>
        <!-- FastClick -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/fastclick/lib/fastclick.js' %}"></script>
        <!-- NProgress -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/nprogress/nprogress.js' %}"></script>
        <!-- Chart.js -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/Chart.js/dist/Chart.min.js' %}"></script>
        <!-- gauge.js -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/gauge.js/dist/gauge.min.js' %}"></script>
        <!-- bootstrap-progressbar -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js' %}"></script>
        <!-- iCheck -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/iCheck/icheck.min.js' %}"></script>

        <script src="{% static 'appearance/packages/gentelella-master/vendors/DateJS/build/date.js' %}"></script>

        <script src="{% static 'appearance/packages/gentelella-master/vendors/moment/min/moment.min.js' %}"></script>
        <script src="{% static 'appearance/packages/gentelella-master/vendors/bootstrap-daterangepicker/daterangepicker.js' %}"></script>

        <!-- PNotify -->
        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.js' %}"></script>
        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.buttons.js' %}"></script>
        <script src="{% static 'appearance/packages/gentelella-master/vendors/pnotify/dist/pnotify.nonblock.js' %}"></script>

        <!-- Custom Theme Scripts -->
        <script src="{% static 'appearance/packages/gentelella-master/build/js/custom.js' %}"></script>

        <script type="text/javascript" src="{% static 'appearance/packages/jquery.scrollview.js' %}"></script>
        <script type="text/javascript"
                src="{% static 'appearance/packages/jquery_lazyload-master/jquery.lazyload.min.js' %}"></script>
        <script type="text/javascript"
                src="{% static 'appearance/packages/fancyBox-master/source/jquery.fancybox.pack.js' %}"></script>
        <script type="text/javascript"
                src="{% static 'appearance/packages/fancyBox-master/lib/jquery.mousewheel.pack.js' %}"></script>
        <script type="text/javascript"
                src="{% static 'appearance/packages/select2-4.0.3/dist/js/select2.min.js' %}"></script>

        <script type="text/javascript" src="{% static 'appearance/packages/jquery.matchHeight-min.js' %}"></script>

        <script type="text/javascript" src="{% static 'appearance/js/base.js' %}"></script>
    {% endcompress %}

    <script>
        var DjangoMessages = [
            {% for message in messages %}
                {
                    tags: '{{ message.tags }}',
                    message: '{{ message.message }}'
                },
            {% endfor %}
        ];
    </script>
    {% block javascript %}{% endblock %}
    </body>
    </html>
{% endspaceless %}